package com.feng.annotation.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.feng.annotation.dao.EmployeeDao;
import com.feng.annotation.model.Employee;

@Service
public class EmployeeService {

	@Autowired
	private EmployeeDao employeeDao;
	
    public List<Employee> getEmployeeList(){
        return employeeDao.selectAll();
    }

}
